<!doctype html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Document</title>
</head>
<body>
<h2>Hello World Servlet!</h2>

<a href="/servlet/HelloServlet">Get方式请求HelloServlet</a>
<form action="/servlet/HelloServlet" method="post">
    <input type="submit" value="Post方式提交HelloServlet">
</form>

</body>
</html>